From: kaf24@scramble.cl.cam.ac.uk Date: Tue, 6 Apr 2004 09:50:25 +0000 (+0000) Subject: bitkeeper revision 1.852 (40727d61go1wzGJ7d5-Gg6jPwpYK9w) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18269 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=4edd616282deffa095e4046f7a1f31e7128df167;p=xen.git bitkeeper revision 1.852 (40727d61go1wzGJ7d5-Gg6jPwpYK9w) Tweak compiler flags to avoid warnings from latest GCC. --- diff --git a/tools/xc/lib/Makefile b/tools/xc/lib/Makefile index 544dcb6a66..35a7b392fa 100644 --- a/tools/xc/lib/Makefile +++ b/tools/xc/lib/Makefile @@ -4,7 +4,7 @@ MINOR = 0 SONAME = libxc.so.$(MAJOR) CC = gcc -CFLAGS = -c -Wall -O3 +CFLAGS = -c -Wall -O3 -fno-strict-aliasing CFLAGS += -I../../../xen/include/hypervisor-ifs CFLAGS += -I../../../xenolinux-sparse/include diff --git a/tools/xc/py/setup.py b/tools/xc/py/setup.py index a49971ab9f..84eb6239a2 100644 --- a/tools/xc/py/setup.py +++ b/tools/xc/py/setup.py @@ -2,6 +2,7 @@ from distutils.core import setup, Extension module = Extension("Xc", + extra_compile_args = ["-fno-strict-aliasing"], include_dirs = ["../lib"], library_dirs = ["../lib"], libraries = ["xc"], diff --git a/tools/xend/setup.py b/tools/xend/setup.py index 6a2c9225d7..80770278e9 100644 --- a/tools/xend/setup.py +++ b/tools/xend/setup.py @@ -2,6 +2,7 @@ from distutils.core import setup, Extension utils = Extension("utils", + extra_compile_args = ["-fno-strict-aliasing"], include_dirs = ["../xc/lib"], library_dirs = ["../xc/lib"], libraries = ["xc"],